AddRangeToFront Method (BigList)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a BigList of items to the front of BigList. The indices of all existing items are increased by the number of items in list. The first item in list becomes the first item in this list. The added list list is unchanged.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public void AddRangeToFront(
	BigList<T> list
)
Visual Basic (Declaration)
Public Sub AddRangeToFront ( _
	list As BigList(Of T) _
)
Visual C++
public:
void AddRangeToFront (
	BigList<T>^ list
)

Parameters

list
BigList<(Of <T>)>
The list of items to add.

Remarks

This method takes, on average, constant time, regardless of the size of either list. Although conceptually all of the items in list are copied, storage is shared between the two lists until changes are made to the shared sections.

Exceptions

ExceptionCondition
System..::ArgumentNullExceptionlist is null.

See Also